<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>类目新增或更新页面</title>
    <#-- 通用样式-->
    <#include "../common/head.ftl">
</head>
<body>

<div id="wrapper" class="toggled">

    <#--边栏sidebar-->
    <#include "../common/nav.ftl">

    <#--主要内容content-->
    <div id="page-content-wrapper">
        <div class="container-fluid">
            <div class="row clearfix">
                <div class="col-md-12 column">
                    <form role="form" method="post" action="/seller/category/addOrUpdate">
                        <div class="form-group">
                            <label>名字</label>
                            <input name="name" type="text" class="form-control" value="${(category.name)!''}"/>
                        </div>
                        <div class="form-group">
                            <label>类型</label>
                            <input name="type" type="number" class="form-control" value="${(category.type)!''}"/>
                        </div>
                        <input hidden type="text" name="id" value="${(category.id)!''}">
                        <button type="submit" class="btn btn-default">提交</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>

</body>
</html>